﻿using FaceWebServer.Interface;
using FaceWebServer.Utility.VerifyAttribute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace FC8280TServer.Controllers.FaceDevice
{
    /// <summary>
    /// 查询设备的参数
    /// </summary>
    public class DeviceQueryParameter: BasePageParameter
    {
        /// <susnmmary>
        /// 设备SN
        /// </summary>
        [VerifyText(iMax: 30, iMin: 0, required: false, errCode: 1, sErrorDesc: "设备SN不能超过30个字符")]
        public string DeviceID { get; set; }

        /// <susnmmary>
        /// 设备名称
        /// </summary>
        [VerifyText(iMax: 30, iMin: 0, required: false, errCode: 1, sErrorDesc: "设备名称不能超过30个字符")]
        public string DeviceName { get; set; }

    }
}
